package com.hry.store.service.impl;

import com.hry.store.dao.ShippingMapper;
import com.hry.store.service.ShippingVoService;
import com.hry.store.vo.ShippingVo;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class ShippingVoServiceImpl implements ShippingVoService {
    @Autowired
    private ShippingMapper shippingMapper;

    /**
     * 关联查询详细收货地址
     * @param shippingId
     * @return
     */
    @Override
    public ShippingVo getByShippingId(Integer shippingId) {
        return shippingMapper.getByShippingId(shippingId);
    }
}
